package com.primforce.common.utils;

import java.util.Set;

/**
 * @Author tangjiakai
 * @Date 2024/12/10 10:31
 * @Description: redis封装接口
 */
public interface RedisService {

    //是否存在该key
    boolean hasKey(String key);

    //根据关键字获取所有key
    Set<String> getPattrenKeysSet(String pattren);
}
